package com.seawaterbt.ssm.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seawaterbt.ssm.config.DataSource;
import com.seawaterbt.ssm.config.DataSourceEnum;
import com.seawaterbt.ssm.entity.BasHeatcompany;
import com.seawaterbt.ssm.mapper.CzBasHeatcompanyMapper;
import com.seawaterbt.ssm.service.CzBasHeatcompanyService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author ycc
 * @since 2019-06-04
 */
@Service
public class CzBasHeatcompanyServiceImpl extends ServiceImpl<CzBasHeatcompanyMapper, BasHeatcompany> implements CzBasHeatcompanyService {


    @DataSource(DataSourceEnum.DB2)
    @Override
    public List<Map> SelectHeatCompanyList(Map para) {
        return baseMapper.SelectHeatCompanyList(para);
    }
    @DataSource(DataSourceEnum.DB2)
    @Override
    public BasHeatcompany getOne(Wrapper<BasHeatcompany> queryWrapper) {
        return super.getOne(queryWrapper);
    }
}
